package top.hg.tool.modules.car.person;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author: skh
 * @Date: 2019/7/17 14:48
 * @Description: 摇号人
 */
@TableName("tb_lottery_person")
@Data
public class LotteryPersonEntity implements Serializable {

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("摇号编码")
    @NotBlank(message = "摇号编码不能为空")
    private String applyNum;

    @ApiModelProperty("姓名")
    @NotBlank(message = "备注不能为空")
    private String name;

    @ApiModelProperty("用户唯一标识")
    @NotBlank(message = "openId不能为空")
    private String openId;

    @ApiModelProperty("中签状态 1:中签 0:未中签 -1:未查询")
    private Integer status;

    @ApiModelProperty("中签期号")
    private String issue;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date updateTime;


}
